home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Devices and Hardware / Velocity Engine / VelEng Wavelet / source / VWavelet_int.h < prev   
Encoding:
C/C++ Source or Header  |  2000-09-28  |  4.0 KB  |  109 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        VWavelet_int.h
  3.  
  4.     Contains:    Velocity Engine integer implementation Daubechies D4 wavelet code
  5.  
  6.     Copyright:    Copyright © 2000 by Apple Computer, Inc., All Rights Reserved.
  7.  
  8.     Disclaimer:    IMPORTANT:  This Apple software is supplied to you by Apple Computer, Inc.
  9.                 ("Apple") in consideration of your agreement to the following terms, and your
  10.                 use, installation, modification or redistribution of this Apple software
  11.                 constitutes acceptance of these terms.  If you do not agree with these terms,
  12.                 please do not use, install, modify or redistribute this Apple software.
  13.  
  14.                 In consideration of your agreement to abide by the following terms, and subject
  15.                 to these terms, Apple grants you a personal, non-exclusive license, under Apple’s
  16.                 copyrights in this original Apple software (the "Apple Software"), to use,
  17.                 reproduce, modify and redistribute the Apple Software, with or without
  18.                 modifications, in source and/or binary forms; provided that if you redistribute
  19.                 the Apple Software in its entirety and without modifications, you must retain
  20.                 this notice and the following text and disclaimers in all such redistributions of
  21.                 the Apple Software.  Neither the name, trademarks, service marks or logos of
  22.                 Apple Computer, Inc. may be used to endorse or promote products derived from the
  23.                 Apple Software without specific prior written permission from Apple.  Except as
  24.                 expressly stated in this notice, no other rights or licenses, express or implied,
  25.                 are granted by Apple herein, including but not limited to any patent rights that
  26.                 may be infringed by your derivative works or by other works in which the Apple
  27.                 Software may be incorporated.
  28.  
  29.                 The Apple Software is provided by Apple on an "AS IS" basis.  APPLE MAKES NO
  30.                 WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
  31.                 WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  32.                 PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN
  33.                 COMBINATION WITH YOUR PRODUCTS.
  34.  
  35.                 IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR
  36.                 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  37.                 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  38.                 ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION
  39.                 OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT
  40.                 (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN
  41.                 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  42.                 
  43.  
  44. */
  45.  
  46. #ifdef __MWERKS__
  47. #include <altivec.h>
  48. #endif
  49.  
  50. #ifdef __cplusplus
  51. extern "C" {
  52. #endif
  53.  
  54.  
  55.  
  56. void vFWVT_4_Quad16_Int(    vector signed long *pSrc,
  57.                             vector signed long *pDest,
  58.                             unsigned long numQuads,
  59.                             unsigned long skipQuads,
  60.                             unsigned long numRows);
  61.  
  62. void vIFWVT_4_Quad16_Int(    vector signed long *pSrc,
  63.                             vector signed long *pDest,
  64.                             unsigned long numQuads,
  65.                             unsigned long skipQuads,
  66.                             unsigned long numRows);
  67.  
  68. void vFWVT_4_Quad16_2DInt(long *pSrc,
  69.                         long *pDst,
  70.                         long *pTemp,
  71.                         unsigned long x,
  72.                         unsigned long y,
  73.                         unsigned long rowQuads,
  74.                         unsigned long depth);
  75.  
  76.  
  77. void vIFWVT_4_Quad16_2DInt(long *pSrc,
  78.                         long *pDst,
  79.                         long *pTemp,
  80.                         unsigned long x,
  81.                         unsigned long y,
  82.                         unsigned long rowQuads,
  83.                         unsigned long depth);
  84.  
  85.  
  86. void vFWVT_4_Quad16_Int_Vertical(vector signed long *pSrc,
  87.                             vector signed long *pTemp,
  88.                             unsigned long numQuads,
  89.                             unsigned long skipQuadCount,
  90.                             unsigned long    columns);                
  91.  
  92. void vIFWVT_4_Quad16_Int_Vertical(    vector signed long *pSrc,
  93.                             vector signed long *pDest,
  94.                             unsigned long numQuads,
  95.                             unsigned long skipQuadCount,
  96.                             unsigned long columns);
  97.  
  98.  
  99. void vFWVT_4_Quad16_Int_ExpandFrom8(    vector unsigned char *pSrc,
  100.                             vector signed long *pDest,
  101.                             unsigned long numQuads,
  102.                             unsigned long skipQuads,
  103.                             unsigned long numRows);
  104.  
  105.  
  106. #ifdef __cplusplus
  107. } //extern "C" {
  108. #endif
  109.